﻿using GIMS.Def.Operators;
using GIMS.Def.Settings;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace GIMS.Def.Test
{
    /// <summary>
    ///This is a test class for CompositeOperatorTest and is intended
    ///to contain all CompositeOperatorTest Unit Tests
    ///</summary>
    [TestClass()]
    public class CompositeOperatorTest
    {
        /// <summary>
        /// Reset GlobalSettings
        /// </summary>
        [TestInitialize()]
        public void MyTestInitialize()
        {
            GlobalSettings_Accessor.instance = null;
        }


        /// <summary>
        ///A test for CreateScriptPart of CompositeOperator 
        ///</summary>
        [TestMethod()]
        public void CompositeOperatorConstructorTest()
        {
            CompositeOperator target = new CompositeOperator();
            Assert.AreEqual("-composite",target.CreateScriptPart());
        }
    }
}
